﻿using System;
using System.Windows.Data;

namespace CPN.PJN.Silverlight.Extensions.Converters
{
    /// <summary>
    /// Converter à but de debuggage uniquement !
    /// </summary>
    public class DebugConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            return value; // Ajouter un breakpoint ici !!!
        }


        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            throw new NotImplementedException("This method should never be called");
        }
    }


}
